import "@site/src/languages/highlight";

# InputAction

**Description:**

&emsp;&emsp;A record that defines an input action with a name and a trigger.

## name

**Type:** Field.

**Description:**

&emsp;&emsp;The name of the input action.

**Signature:**
```tl
name: string
```

## trigger

**Type:** Field.

**Description:**

&emsp;&emsp;The trigger of the input action.

**Signature:**
```tl
trigger: Trigger
```